/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.exceptions;


/**
 * created on Jul 27, 2007
 * 
	 * This exception is thrown whenever it fails to send an email..
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2007-07-31 00:08:37 $
 */
public class MailException extends Exception {

		/** generated UID */
		private static final long serialVersionUID = -9167452186275161955L;

		/**
		 * Creates a new MailException instance. 
		 */
		public MailException() {
			super("Failed to send an email.");
		}

		/**
		 * Creates a new MailException instance.
		 * @param message the error message
		 * @param source exception that caused this exception 
		 */
		public MailException(String message, Throwable source) {
			super(message, source);
		}

		/**
		 * Creates a new MailException instance.
		 * @param message the error message
		 */
		public MailException(String message) {
			super(message);
		}

		/**
		 * Creates a new MailException instance.
		 * @param source exception that caused this exception 
		 */
		public MailException(Throwable source) {
			super(source);
		}

}
